﻿<div class="well">
@using (Html.BeginForm())
{
    <input type='file' id='upload' name='upload' />
    <span style='padding: 0px 10px; text-align: center'>
        <img src='@Url.Content("~/Content/img/loading.gif")' id='fileloading' style='display: none;' /></span>
    <input type='button' value='上传' class="btn btn-primary" onclick="Upload('@Url.Action("UploadFile")');" />
    <span id='uploadresult' style='padding: 0px 5px;'>文件未上传</span>
    @Html.Hidden("FileName")
@*    <div style="color: Red">@ViewData["ErrorMsg"]</div>*@
    <table class="table">
                <tbody>
                    <tr id="fileList">
                        
                    </tr>
                </tbody>
            </table>
    @Html.Js("ajaxfileupload")
}
</div>
